<template>
  <div>
    <el-breadcrumb separator-class="el-icon-arrow-right">
      <el-breadcrumb-item :to="{ path: '/home' }">首页</el-breadcrumb-item>
      <el-breadcrumb-item v-for="item in breadcrumbItem">{{item}}</el-breadcrumb-item>
    </el-breadcrumb>
  </div>
</template>

<script>
  export default{
    props:{
      breadcrumbItem:{
        type:Array,
        default:""
      }
    }
  }
</script>

<style scoped>
  .el-breadcrumb{
    margin-bottom: 15px;
    font-size: 12px;
  }

</style>